<?php

namespace App\Http\Controllers;

use App\Models\Resume;
use Illuminate\Http\Request;

class ResumeController extends WxController
{
    public function apply(Request $request){
        $this->validate($request,[
            ''
        ]);
    }
    //求职者列表
    public function list(Request $request){
        $data =  (new Resume())->getList();
        return $this->success($data);
    }

    public function detail(Request $request){
        $id = $request['id'];
        $this->validate($request, [
            'id' => 'required|integer',
        ]);
        $data =  (new Resume())->getDetail($id);
        return $this->success($data);
    }



}
